import http from "@/utils/http.js";

export const getAllSkin = () => {
	return http({
		url: "/client/skin/getAll",
	})
}

export const getDefaultSkin = () => {
	return http({
		url: "/client/skin/getDefault",
	})
}

export const setSkin = (skinId) => {
	return http({
		url: "/client/skin/setSkin",
		data: {
			"skinId": skinId,
		}
	})
}

export const getSkin = () => {
	return http({
		url: "/client/skin/getSkin",
	})
}
